package com.sanqing.po;

import java.util.Date;

/**
 * Candidate entity. @author MyEclipse Persistence Tools
 */

public class Candidate implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private boolean sex;
	private Date birthday;
	private Department department;
	private Position position;
	private String specialty;
	private String experience;
	private String education;
	private String school;
	private String phone;
	private String email;
	private String content;
	private boolean isstock;
	private boolean ishired;

	// Constructors

	/** default constructor */
	public Candidate() {
	}

	/** minimal constructor */
	public Candidate(String name) {
		this.name = name;
	}

	/** full constructor */
	public Candidate(String name, boolean sex, Date birthday, Department department,
			Position position, String specialty, String experience, String education,
			String school, String phone, String email, String content,boolean ishired,
			boolean isstock) {
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.department = department;
		this.position = position;
		this.specialty = specialty;
		this.experience = experience;
		this.education = education;
		this.school = school;
		this.phone = phone;
		this.email = email;
		this.content = content;
		this.isstock = isstock;
		this.ishired = ishired;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean getSex() {
		return this.sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Position getPosition() {
		return this.position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}
	
	public Department getDepartment() {
		return this.department;
	}
	
	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getSpecialty() {
		return this.specialty;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}

	public String getExperience() {
		return this.experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}

	public String getEducation() {
		return this.education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public boolean getIsstock() {
		return this.isstock;
	}

	public void setIsstock(boolean isstock) {
		this.isstock = isstock;
	}
	
	public boolean getIshired() {
		return this.ishired;
	}

	public void setIshired(boolean ishired) {
		this.ishired = ishired;
	}

}